package com.xichen.pojo;

import tk.mybatis.mapper.annotation.NameStyle;

import javax.persistence.Id;
import javax.persistence.Table;
import java.time.YearMonth;
import java.util.Date;

/**
 * @author tang wei
 * @version 1.0
 * @date 2020/7/16 17:12
 */
@Table(name = "DUTY_LIST")
@NameStyle()
public class DutyList {
    @Id
    private Long id;//排班表id
    private Date createTime;//创建时间
    private Date updateTime;//更新时间
    private Long duty_Month_id;//排班月份id
    private Long sys_user_id;//值班人id
    private String dutyDate;//值班日期

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getDuty_Month_id() {
        return duty_Month_id;
    }

    public void setDuty_Month_id(Long duty_Month_id) {
        this.duty_Month_id = duty_Month_id;
    }

    public Long getSys_user_id() {
        return sys_user_id;
    }

    public void setSys_user_id(Long sys_user_id) {
        this.sys_user_id = sys_user_id;
    }

    public String getDutyDate() {
        return dutyDate;
    }

    public void setDutyDate(String dutyDate) {
        this.dutyDate = dutyDate;
    }

    @Override
    public String toString() {
        return "DutyList{" +
                "id=" + id +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", duty_Month_id=" + duty_Month_id +
                ", sys_user_id=" + sys_user_id +
                ", dutyDate='" + dutyDate + '\'' +
                '}';
    }
}
